package csl.mq.rabbitmq.config;

import cn.hutool.bloomfilter.BitMapBloomFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: TODO 配置布隆过滤器
 */
@Configuration
public class BloomFilterConfig {

    @Bean
    public BitMapBloomFilter bitMapBloomFilter(){
        return new BitMapBloomFilter(Integer.MAX_VALUE);
    }
}
